package com.example.common.core.constants;

public class CacheConstants {
    public final static String LOGIN_TOKEN_KEY = "logintoken:";

    public final static  Long EXP = 720L;
    public static final Long REFRESH_TIME = 180L;


    public final static String PHONE_CODE_KEY = "p:c:"; //手机号前缀

    public final static String PHONE_TIME_KEY = "c:c:"; //手机号短信发送次数前缀

    public final static String EXAM_UNFINISHED_LIST = "e:t:l"; //未完赛竞赛列表
    public final static String EXAM_HISTORY_LIST = "e:h:l"; //历史竞赛列表

    public final static String EXAM_DETAIL = "e:d:"; //竞赛详情信息

    public final static String USER_EXAM_LIST = "u:e:l:"; //用户报名竞赛列表

    public final static String USER_DETAIL = "u:d:"; //用户信息

    public final static long USER_EXP = 10;

    public static final String USER_UPLOAD_TIMES_KEY = "u:u:t"; //用户在一天内上传文件的次数

    public static final String QUESTION_LIST = "q:l"; //题目列表 list

    public static final String QUESTION_HOST_LIST = "q:h:l";

    public static final String EXAM_QUESTION_LIST = "e:q:l:"; //竞赛题目id列表

    public static final String USER_MESSAGE_LIST = "u:m:l:"; //用户消息列表

    public static final String MESSAGE_DETAIL = "m:d:"; //消息详情

    public static final String EXAM_RANK_LIST = "e:r:l:"; //竞赛排名列表

    public static final long DEFAULT_START = 0;

    public static final long DEFAULT_END = -1;
}
